package ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p=new Point();
        p.setX(10);
        p.setY(50);
        System.out.println(p.getX()+","+p.getY());

    }
}
